home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6976 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.nstn.ca!news
  2. From: keichele@ac.dal.ca (Klaus Eichele)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How to incorperate other stuff in program?
  5. Date: Wed, 21 Feb 1996 17:35:43 GMT
  6. Organization: Dalhousie University
  7. Message-ID: <4gf755$ch3@news.nstn.ca>
  8. References: <4gdir3$4oc@guava.epix.net>
  9. NNTP-Posting-Host: rewasylishen.chem.dal.ca
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. jgvd@epix.net (Jon) wrote:
  13.  
  14. >Say you design a dialog box (or bitmap or whatever) in the resource 
  15. >workshop.  How do you take the box and put it into the c++ code?  I cannot 
  16. >make the link and I need serious help on this.  I end up with some simple 
  17. >c++ code that works, and a nice dialog box I made in the workshop, but 
  18. >have no idea as to how to combine the two...  
  19.  
  20. Hi Jon, 
  21. usually it is sufficient to include the resource script file produced
  22. by Workshop into your project, just as you include the c++ source code
  23. files (or the module definition file, if you are using such). At least
  24. that's the way Borland's C++ works; I don't know the products of other
  25. vendors but would expect them to behave similar. This should be
  26. documented in the manuals for your compiler.
  27.  
  28. >I have looked in books, only 
  29. >to find that they assume you either know how to do that or don't want to.
  30.  
  31. If you are serious about programming Windows you should get Petzold's
  32. book. (Charles Petzold, Programming Windows 3.1, Microsoft Press, ISBN
  33. 1-55615-395-3). A slower paced book is for example Jim Conger's
  34. Windows Programming Primer Plus, The Waite Group, ISBN 1-878739-21-2.
  35.  
  36. Hope this helps,
  37. Klaus
  38.  
  39. P.S. A better platform for questions like this is
  40. comp.os.ms-windows.programmer.controls or .misc
  41. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  42. Klaus Eichele         keichele@ac.dal.ca  
  43. http://ac.dal.ca/~keichele/keichele.html
  44.  
  45.